package com.leon.workenginespace.learnjava;

/**
 * @description: TODO
 * @author: WT
 * @date: 2024/3/15 0:24
 * @Version 1.0
 **/
public class hellowThread extends Thread{
    @Override
    public void run() {
        int n = 0;
        while (!isInterrupted()) {
            System.out.println(n++ + "1");

        }
    }

}